// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   IKeyPairCodec.java

package gnu.crypto.key;

import java.security.PrivateKey;
import java.security.PublicKey;

public interface IKeyPairCodec
{

    public abstract int getFormatID();

    public abstract byte[] encodePublicKey(PublicKey publickey);

    public abstract byte[] encodePrivateKey(PrivateKey privatekey);

    public abstract PublicKey decodePublicKey(byte abyte0[]);

    public abstract PrivateKey decodePrivateKey(byte abyte0[]);

    public static final int RAW_FORMAT = 1;
}
